#pragma once
#include <Windows.h>
#include <memory>
#include <string>
#include <socketapi.h>

class MySocket
{
public:
	SOCKET s;

	std::string Host;
	int Port;

	MySocket(void);
	MySocket(std::string host, int port);
	~MySocket(void);

	std::string ReceiveLine();
	void   SendLine (std::string msg);

	std::string GetPage(std::string url);
};

